<!-- ANTIGO
<div>
    <form name="userLoginForm" action="#" method="post">
        <div>
            <label for="login">Login</label>
            <input type="text" name="login"/>
        </div>
        <div>
            <label for="password">Senha</label>
            <input type="password" name="password"/>
        </div>
        <div>
            <input type="submit" name="userLoginSubmit"/>
        </div>
    </form>
</div>
 -->

<div>
    <form name="userLoginForm" action="#" method="POST">
        <div data-role="fieldcontain">
            <fieldset data-role="controlgroup" data-mini="true">
                <label for="login">
                    Login
                </label>
                <input id="login" placeholder="" value="" type="text" name="login" />
            </fieldset>
        </div>
        <div data-role="fieldcontain">
            <fieldset data-role="controlgroup" data-mini="true">
                <label for="password">
                    Senha
                </label>
                <input id="password" placeholder="" value="" type="password" name="password"/>
            </fieldset>
        </div>
        <input data-icon="arrow-l" data-iconpos="left" name="userLoginSubmit" value="Entrar" data-mini="true" type="submit" />
        <div>
            <a href="" data-transition="fade">
                Esqueceu a senha?
            </a>
        </div>
    </form>
</div>

<?php
    //mostra logs de bom funcionamento
    if(isset($this->message))
    {
?>
      <div class="message">
            <?=$this->message;?>
      </div>
 <?php
    }
 ?>

<?php
    //mostra logs de erro
    if(isset($this->error))
    {
?>
      <div class="error">
            <?=$this->error;?>
      </div>
 <?php
    }
 ?>
